xen: use a dummy file in C99 header check
authorWei Liu <wei.liu2@citrix.com>
Thu, 6 Apr 2017 18:33:36 +0000 (19:33 +0100)
committerWei Liu <wei.liu2@citrix.com>
Fri, 7 Apr 2017 08:47:19 +0000 (09:47 +0100)
commite9a5d40a20ec598736570db774d87cd9166d5245
tree9d92621b05badba1783f5887b46cae0c07dc2a66
parent91ef7364933037b6a8d825405a1c809a72e6152f
xen: use a dummy file in C99 header check

The check builds header file as if it is a C file. Clang doesn't like
the idea of having dead code in C file. The check as-is fails on Clang
with unused function warnings.

Use a dummy file like the C++ header check to fix this.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/include/Makefile